package com.ming_za.odupdaterserver.core.vo.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Schema(description = "资源详细信息")
@Data
public class ResInfoResp {

    @Schema(description = "资源id")
    private Long resId;

    @Schema(description = "存在于客户端的地址")
    private String clientPath;

    @Schema(description = "是否为必须更新")
    private Boolean necessary;

    @Schema(description = "是否为删除")
    private Boolean delete;

    @Schema(description = "更新上传时间")
    private Date time;

    @Schema(description = "标签,0->default,多个标签二进制合并")
    private Long label;

    @Schema(description = "资源类型,0->普通类型（默认）,1->MC Mod类型")
    private Integer type;

    @Schema(description = "附加数据")
    private String data;

}
